home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / examples / dthelp / Main.h.z / Main.h
Encoding:
C/C++ Source or Header  |  2003-11-18  |  2.7 KB  |  87 lines

  1. /*
  2.  * Main.h
  3.  *
  4.  * Copyright 2000, Silicon Graphics, Inc.
  5.  * ALL RIGHTS RESERVED
  6.  * 
  7.  * UNPUBLISHED -- Rights reserved under the copyright laws of the United
  8.  * States.   Use of a copyright notice is precautionary only and does not
  9.  * imply publication or disclosure.
  10.  *
  11.  * U.S. GOVERNMENT RESTRICTED RIGHTS LEGEND:
  12.  * Use, duplication or disclosure by the Government is subject to restrictions
  13.  * as set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii) of the Rights
  14.  * in Technical Data and Computer Software clause at DFARS 252.227-7013 and/or
  15.  * in similar or successor clauses in the FAR, or the DOD or NASA FAR
  16.  * Supplement.  Contractor/manufacturer is Silicon Graphics, Inc.,
  17.  * 2011 N. Shoreline Blvd. Mountain View, CA 94039-7311.
  18.  *
  19.  * THE CONTENT OF THIS WORK CONTAINS CONFIDENTIAL AND PROPRIETARY
  20.  * INFORMATION OF SILICON GRAPHICS, INC. ANY DUPLICATION, MODIFICATION,
  21.  * DISTRIBUTION, OR DISCLOSURE IN ANY FORM, IN WHOLE, OR IN PART, IS STRICTLY
  22.  * PROHIBITED WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF SILICON
  23.  * GRAPHICS, INC.
  24.  */
  25. /* $XConsortium: Main.h /main/cde1_maint/1 1995/07/17 21:01:01 drk $ */
  26. /************************************<+>*************************************
  27.  ****************************************************************************
  28.  **
  29.  **  File:        Main.h
  30.  **
  31.  **  Project:     CDE dthelpdemo sample program.
  32.  **
  33.  **  Description: This is the main header file for the dthelpdemo
  34.  **               program.  It includes globally referenced variables and
  35.  **               defines.
  36.  **
  37.  **
  38.  **  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994
  39.  **      Hewlett-Packard Company
  40.  **  (c) Copyright 1993, 1994 International Business Machines Corp.
  41.  **  (c) Copyright 1993, 1994 Sun Microsystems, Inc.
  42.  **  (c) Copyright 1993, 1994 Unix System Labs, Inc., a subsidiary of
  43.  **      Novell, Inc.
  44.  **
  45.  ****************************************************************************
  46.  ************************************<+>*************************************/
  47.  
  48. #ifndef _Main_h
  49. #define _Main_h
  50.  
  51. #include "HelpCacheI.h"
  52.  
  53. /* Option defines for menubar help access */
  54. #define HELP_ON_ITEM     1
  55. #define HELP_ON_TOPIC    2
  56. #define HELP_ON_VERSION  3
  57.  
  58. /* Option defines for Sample Buttons */
  59. #define CREATE_SAMPLE          1
  60. #define DESTROY_SAMPLE         2
  61. #define CHANGE_CONTENT         3
  62. #define CHANGE_SIZE            4
  63. #define CHANGE_GUI             5
  64. #define SHOW_APP_DEFINED_LINKS 6
  65.  
  66.  
  67. /* Global Variables Used by our helpCache */
  68.  
  69. CacheListStruct *pCacheListHead;
  70. CacheListStruct *pCacheListTale;
  71. int             totalCacheNodes;
  72.  
  73. /*  Globally referenced widget variables */
  74. extern Widget topLevel;
  75. extern Widget mainShell;
  76. extern Widget manWidget;
  77.  
  78.  
  79. #endif /* _Main_h */
  80. /* DON'T ADD ANYTHING AFTER THIS #endif */
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.